package com.bitBusy.manageyourriches.database.tables;

public enum BasicDetails implements TableDefinition{
	SUBCATEGORYCOL("subcategory", " TEXT NOT NULL"),
	CATEGORYCOL("category", " TEXT NOT NULL"),
	//DATECOL("date", " TEXT NOT NULL"),
	DATECOL("date", " INTEGER"),
	TIMECOL("time", " TEXT NOT NULL"),
	DAYCOL("day", " TEXT NOT NULL"),
	PAIDBYCOL("paymentInfo", " TEXT"),
	AMOUNTCOL("amount", " REAL"),
	NOTECOL("note", " TEXT"),
	PRIMARYKEYSPEC("PRIMARY KEY", "(subcategory, category, date, time)");
	
	
	private String name;
	private String datatype;
	
	private BasicDetails(String the_name, String the_datatype)
	{
		name = the_name;
		datatype = the_datatype;
	}
	public String getName()
	{
		return name;
	}
	public String getType()
	{
		return datatype;
	}

}
